package org.linlinjava.litemall.db.vo.logistics;

import org.linlinjava.litemall.db.vo.wechat.SeparateWechatData;

/**
 * @author wj
 * @date 2021/11/3 13:49
 */
public class LogisticsUserData {

    private Integer userId;

    private String name;

    private String phone;

    private String address;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    public LogisticsUserData() {
    }

    public LogisticsUserData(SeparateWechatData wechatData) {
        this.userId=wechatData.getUserId();
        this.name=wechatData.getConsignee();
        this.phone=wechatData.getMobile();
        this.address=wechatData.getOrderAddress();
    }


}
